Skip to content

Commit

Permalink
chore: add _getSYandPYIndex docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Van0k committed Oct 25, 2024
1 parent c0d1e75 commit 1245616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/oracles/pendle/PendleTWAPPTPriceFeed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ contract PendleTWAPPTPriceFeed is IPriceFeed, PriceFeedValidationTrait, SanityCh
return FixedPoint.divDown(WAD, assetToPTRate);
}

/// @dev Retrieves the current SY and YT indices
function _getSYandPYIndex() internal view returns (uint256 syIndex, uint256 pyIndex) {
syIndex = IPendleSY(sy).exchangeRate();
uint256 pyIndexStored = IPendleYT(yt).pyIndexStored();
Expand Down

0 comments on commit 1245616

Please sign in to comment.