Skip to content

Commit

Permalink
Make virtual PriceFeed functions unimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
RickGriff committed Dec 20, 2024
1 parent f135488 commit 69d715c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/PriceFeeds/CompositePriceFeed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ abstract contract CompositePriceFeed is MainnetPriceFeedBase {
// An individual Pricefeed instance implements _fetchPricePrimary according to the data sources it uses. Returns:
// - The price
// - A bool indicating whether a new oracle failure or exchange rate failure was detected in the call
function _fetchPricePrimary(bool _isRedemption) internal virtual returns (uint256, bool) {}
function _fetchPricePrimary(bool _isRedemption) internal virtual returns (uint256, bool);

// Returns the LST exchange rate and a bool indicating whether the exchange rate failed to return a valid rate.
// Implementation depends on the specific LST.
function _getCanonicalRate() internal view virtual returns (uint256, bool) {}
function _getCanonicalRate() internal view virtual returns (uint256, bool);
}

0 comments on commit 69d715c

Please sign in to comment.