From 8499a6373f7497a50add8ea88d22d77bea0c849a Mon Sep 17 00:00:00 2001 From: "A.L." Date: Thu, 6 Jun 2024 10:32:24 +0200 Subject: [PATCH] fix: imports --- src/ReservoirPriceOracle.sol | 5 ++--- src/libraries/QueryProcessor.sol | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ReservoirPriceOracle.sol b/src/ReservoirPriceOracle.sol index 4dd69b1..c965ca3 100644 --- a/src/ReservoirPriceOracle.sol +++ b/src/ReservoirPriceOracle.sol @@ -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"; diff --git a/src/libraries/QueryProcessor.sol b/src/libraries/QueryProcessor.sol index 2b58257..b90fce1 100644 --- a/src/libraries/QueryProcessor.sol +++ b/src/libraries/QueryProcessor.sol @@ -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