Skip to content

Commit

Permalink
docs: Adds return value docs to internal LibUniswap function
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Apr 16, 2024
1 parent 8a2f583 commit a2df204
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/LibUniswapOracles.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ library LibUniswapOracles {
/// @param quoteToken The quote pair for the pool, e.g. USDT in WETHUSDT.
/// @param baseDecimals The decimals of the base pair ERC-20 token.
/// @param lookback The time in seconds to look back per TWAP.
/// @return uint The Uniswap TWAP price for 1e`baseDecimals` base tokens denominated in
/// `quoteToken`.
function readOracle(
address pool,
address baseToken,
Expand Down

0 comments on commit a2df204

Please sign in to comment.