@@ -4,20 +4,20 @@ pragma solidity ^0.8.27;
44import "@api3/contracts/interfaces/IApi3ReaderProxy.sol " ;
55import "./interfaces/IWstETH.sol " ;
66
7- /// @title An immutable proxy contract that reads the price of wstETH/stETH
7+ /// @title An immutable proxy contract that reads the stETH per wstETH ratio
88/// directly from the WstETH contract on Ethereum.
9- /// @dev This contract implements only the IApi3ReaderProxy and not the
10- /// AggregatorV2V3Interface which is usually implemented with Api3 proxies. The
11- /// user of this contract needs to be aware of this and only use this contract
12- /// where the IApi3ReaderProxy interface is expected.
9+ /// @dev This contract implements only the IApi3ReaderProxy interface and not the
10+ /// AggregatorV2V3Interface which is usually implemented by Api3 proxies. The
11+ /// user of this contract needs to be aware of this limitation and only use this
12+ /// contract where the IApi3ReaderProxy interface is expected.
1313contract WstETHApi3ReaderProxyV1 is IApi3ReaderProxy {
1414 /// @notice The address of the wstETH contract on Ethereum mainnet.
1515 address public constant WST_ETH =
1616 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 ;
1717
1818 /// @inheritdoc IApi3ReaderProxy
19- /// @dev The value returned by this function is the stETH value scaled to 18
20- /// decimals. The timestamp returned is the current block timestamp.
19+ /// @dev Returns the stETH/wstETH exchange rate with 18 decimals precision.
20+ /// The timestamp returned is the current block timestamp.
2121 function read ()
2222 public
2323 view
0 commit comments