From 69d715c986789fe35aca7af06b5671d6e25972d0 Mon Sep 17 00:00:00 2001 From: RickGriff Date: Fri, 20 Dec 2024 14:25:30 +0700 Subject: [PATCH] Make virtual PriceFeed functions unimplemented --- contracts/src/PriceFeeds/CompositePriceFeed.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/src/PriceFeeds/CompositePriceFeed.sol b/contracts/src/PriceFeeds/CompositePriceFeed.sol index 2825d9afb..4459be948 100644 --- a/contracts/src/PriceFeeds/CompositePriceFeed.sol +++ b/contracts/src/PriceFeeds/CompositePriceFeed.sol @@ -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); }