morpho-blue-oracles icon indicating copy to clipboard operation
morpho-blue-oracles copied to clipboard

Add SfrxETH-FrxETH exchange rate adapter

Open horacepan opened this issue 8 months ago • 0 comments

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

image

horacepan avatar May 28 '24 13:05 horacepan