Skip to content

Commit

Permalink
fix: add getUpdatablePriceFeeds to IMarketCompressor
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Oct 21, 2024
1 parent 8b7b39b commit 32b260b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/interfaces/IMarketCompressor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// (c) Gearbox Holdings, 2024
pragma solidity ^0.8.10;

import {BaseParams} from "../types/BaseState.sol";
import {MarketData} from "../types/MarketData.sol";
import {PoolState} from "../types/PoolState.sol";
import {IVersion} from "@gearbox-protocol/core-v3/contracts/interfaces/base/IVersion.sol";
Expand All @@ -15,4 +16,9 @@ interface IMarketCompressor is IVersion {
function getMarketData(address pool) external view returns (MarketData memory result);

function getMarkets(MarketFilter memory filter) external view returns (MarketData[] memory result);

function getUpdatablePriceFeeds(MarketFilter memory filter)
external
view
returns (BaseParams[] memory updatablePriceFeeds);
}

0 comments on commit 32b260b

Please sign in to comment.