Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jun 6, 2024
1 parent e72bb07 commit 8499a63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/ReservoirPriceOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import {
IReservoirPriceOracle,
OracleAverageQuery,
OracleLatestQuery,
OracleAccumulatorQuery,
Variable
OracleAccumulatorQuery
} from "src/interfaces/IReservoirPriceOracle.sol";
import { IPriceOracle } from "src/interfaces/IPriceOracle.sol";
import { QueryProcessor, ReservoirPair, Buffer } from "src/libraries/QueryProcessor.sol";
import { QueryProcessor, ReservoirPair, Buffer, Variable } from "src/libraries/QueryProcessor.sol";
import { Utils } from "src/libraries/Utils.sol";
import { Owned } from "lib/amm-core/lib/solmate/src/auth/Owned.sol";
import { ReentrancyGuard } from "lib/amm-core/lib/solmate/src/utils/ReentrancyGuard.sol";
Expand Down
3 changes: 1 addition & 2 deletions src/libraries/QueryProcessor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import { LogCompression } from "amm-core/libraries/LogCompression.sol";
import { Buffer } from "amm-core/libraries/Buffer.sol";
import { ReservoirPair, Observation } from "amm-core/ReservoirPair.sol";

import { Variable } from "src/interfaces/IReservoirPriceOracle.sol";
import { OracleErrors } from "src/libraries/OracleErrors.sol";
import { Samples } from "src/libraries/Samples.sol";
import { Samples, Variable } from "src/libraries/Samples.sol";

/**
* @dev Auxiliary library for PoolPriceOracle, offloading most of the query code to reduce bytecode size by using this
Expand Down

0 comments on commit 8499a63

Please sign in to comment.